/*	
 * Copyright (C) 2010  Mark Schyns
 * 
 * This file is part of Poker League Leaderboard.
 * 
 * Poker League Leaderboard is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Poker League Leaderboard is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Poker League Leaderboard.  If not, see <http://www.gnu.org/licenses/>.
*/

package com.gambit727.pokerleagueleaderboard;

public class Finish {
	
	// Fields.
	private int tournamentId = 0;
	private String playerId = "";
	private int place = 0;
	private double cashWon = 0.0;
	private double pointsEarned = 0.0;
	
	// Constructors.
	public Finish() {
		
	}
	
	public Finish(int tournamentId, String playerId, int place) {
		setTournamentId(tournamentId);
		setPlayerId(playerId);
		setPlace(place);
	}
	
	// Methods.
	public void setTournamentId(int tournamentId) {
		this.tournamentId = tournamentId;
	}

	public int getTournamentId() {
		return tournamentId;
	}
	
	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	public String getPlayerId() {
		return playerId;
	}
	
	public void setPlace(int place) {
		this.place = place;
	}

	public int getPlace() {
		return place;
	}
	
	public void setCashWon(double cashWon) {
		this.cashWon = cashWon;
	}

	public double getCashWon() {
		return cashWon;
	}
	
	public void setPointsEarned(double pointsEarned) {
		this.pointsEarned = pointsEarned;
	}
	
	public double getPointsEarned() {
		return pointsEarned;
	}
}
